﻿using MediatR;
using SmartProduction.Domain;
using SmartProduction.ErrorCode;
using SmartProduction.Read.API.Dto;
using System.ComponentModel.DataAnnotations;

namespace SmartProduction.Read.API.Application.Commands.STaskCommand__生产管理
{
    public class STaskGetCommand:IRequest<APIResult<APIPaing<STask>>>
    {
        /// <summary>
        /// 任务编码
        /// </summary>
        [StringLength(50)]
        public string? TaskNode { get; set; }
        /// <summary>
        /// 任务mc
        /// </summary>
        [StringLength(50)]
        public string? TaskName { get; set; }
        /// <summary>
        /// 任务状态
        /// </summary>
        public string? TaskStatus { get; set; }
        /// <summary>
        /// 物料
        /// </summary>
        public int? MaterialServerId { get; set; } = 0;
        public int PageIndex { get; set; } = 1;
        public int PageSize { get; set; } = 15;
    }
}
